package com.example.egmybatis06.mapper;

import com.example.egmybatis06.pojo.Custer;
import com.example.egmybatis06.pojo.Order;
import com.example.egmybatis06.vo.CustomersVo1;
import com.example.egmybatis06.vo.CustomersVo2;
import com.example.egmybatis06.vo.OrderListVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustMapper {
    int insertCust(Custer custer);

    int insertOrder(Order order);

    CustomersVo1 selectNT(String cid);

    List<CustomersVo2> selectNC(String city);

    OrderListVo select1VD(String cid);

    int updateOrder(Order order);

}
